package com.lex.data.admin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 平台用户角色表
 * </p>
 *
 * @author lex QQ:609381308
 * @since 2024-07-31
 */
@Getter
@Setter
@TableName("lex_cms_user_role")
@Schema(name = "LexCmsUserRole", description = "平台用户角色表")
public class LexCmsUserRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "角色id")
    private Long roleId;

    @Schema(description = "用户id")
    private Long userId;
}
